import setUp from "./index.vue"
import quarterlySettings from './quarterlySettings'
import provalProcessSettings from './provalProcessSettings'
import provalProcess from './provalProcessSettings/provalProcess.vue'
export default [{
    path: '/setUp',
    name: '/setUp',
    component: setUp,
    meta: {
      title: "设置", //标题文案
      icon: "nf_icon_icon-test",
      isNoView: '', //是否因为没有权限而不可见
      isNav: true, //是否展示为导航栏
      sonPage: [{ //如果为导航栏则设置子页面信息如路由等
          path: '/setUp/quarterlySettings',
          name: '/setUp/quarterlySettings',
          meta: {
            icon: "el-icon-s-order",
            title: "季度设置", //标题文案
            isNoView: '', //是否因为没有权限而不可见
            isNav: true, //是否展示为导航栏
          },
        },
        {
          path: '/setUp/provalProcessSettings',
          name: '/setUp/provalProcessSettings',
          meta: {
            icon: "el-icon-s-check",
            title: "审批流程设置", //标题文案
            isNoView: '', //是否因为没有权限而不可见
            isNav: true, //是否展示为导航栏
          },
        },
      ],
    },
  },
  {
    path: '/setUp/quarterlySettings',
    name: '/setUp/quarterlySettings',
    component: quarterlySettings,
    meta: {
      icon: "el-icon-s-order",
      title: "季度设置", //标题文案
      isNoView: '', //是否因为没有权限而不可见
      isNav: false, //是否展示为导航栏
    },
  },
  {
    path: '/setUp/provalProcessSettings',
    name: '/setUp/provalProcessSettings',
    component: provalProcessSettings,
    meta: {
      icon: "el-icon-s-check",
      title: "审批流程设置", //标题文案
      isNoView: '', //是否因为没有权限而不可见
      isNav: false, //是否展示为导航栏
    },
  },
  {
    path: '/setUp/provalProcessSettings/provalProcess',
    name: '/setUp/provalProcessSettings/provalProcess',
    component: provalProcess,
    meta: {
      icon: "el-icon-s-check",
      title: "新增流程", //标题文案
      isNoView: '', //是否因为没有权限而不可见
      isNav: false, //是否展示为导航栏,
      breadcrumb: [{
        path: '/setUp/provalProcessSettings',
        title: "审批流程设置", //标题文案
      }, {
        path: '/setUp/provalProcessSettings/provalProcess',
        title: "新增/编辑流程", //标题文案
      }]
    },
  },
]
